<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      // 浮点数
      const n1 = 255;
      // 0-1a-z
      console.log(n1.toString(2));
      // console.log(255.1.toString(2));
      // console.log(255..toString(2));
      console.log((255).toString(2));
    </script>
  </body>
</html>
